<template>
  <div>
    <transition>
      <slot></slot>
    </transition>
  </div>
</template>

<script type="text/javascript">
export default {
  name: 'CommonFade'
}
</script>

<style type="text/javastyle" lang="stylus" scoped>
@import '~styles/varibles.styl'
.v-enter-active, .v-leave-active
  transition: all 1s
.v-enter, .v-leave-to
  opacity: 0
</style>
